package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 小程序角色关联菜单对象 xcx_role_menu
 *
 * @author ruoyi
 * @date 2022-12-30
 */
public class XcxRoleMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 角色ID */
    @Excel(name = "角色ID")
    private Long xcxRoleId;

    /** 菜单ID */
    @Excel(name = "菜单ID")
    private Long xcxMenuId;

    public void setXcxRoleId(Long xcxRoleId)
    {
        this.xcxRoleId = xcxRoleId;
    }

    public Long getXcxRoleId()
    {
        return xcxRoleId;
    }
    public void setXcxMenuId(Long xcxMenuId)
    {
        this.xcxMenuId = xcxMenuId;
    }

    public Long getXcxMenuId()
    {
        return xcxMenuId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("xcxRoleId", getXcxRoleId())
                .append("xcxMenuId", getXcxMenuId())
                .toString();
    }
}
